<?php
/**
 
 */
defined( '_JEXEC' ) or die( 'Restricted access' );

require_once(NGCOM_PATH.DS.'assets'.DS.'includes'.DS.'menu.class.inc.php');

?>

<div id="menu_preview" style="position:absolute; top:-9000px; left:-9000px;">
	<?php
	$preview = new MenuPreview($this->item, $this->ngitems);
	if($preview->config){
		echo $preview->create();
	}else{
		echo JText::_('COM_NGMENU_HELP_PREVIEW_ERROR');
	}
	?>
</div>
